package com.hqyj.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.util.List;

@Data
@Table
public class User {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer userId;

    private String userName;

    private String password;

    private Date createDate;

    private List<UserAddress> userAddressList;
}